<?php
$wages = [
    "市场部"=>[
        [1,"杨朝","市场经理",8800],
        [2,"王玲","市场专员",5800],
    ],
    "产品部"=>[
        [1,"邓建","产品经理",9100],
        [2,"百威","产品专员",6300],
    ],
    "财务部"=>[
        [1,"曹辉","财务经理",7500],
        [2,"陈斌两","财务专员",4800],
        [3,"定固话","财务专员",5000],
    ],
];
foreach ($wages as $bumen=>$persons){
    echo $bumen,"部门人员如下:\n";
    foreach ($persons as $person) {
        //echo $person[0],"\t",$person[1],"\t",$person[2],"\t",$person[3],"\n";
        foreach ($person as $item) {
            echo $item,"\t";
        }
        echo "\n";
    }
}